package springlogdemo.demos.facade;

public class Light {
   Light roomLight;
   Light hallLight;

   public void on(){
       roomLight=new RoomLight();
       hallLight=new HallLight();
       roomLight.on();
       hallLight.on();
   }

   public void off(){
       roomLight.off();
       hallLight.off();
   }
}
